package base.day23;

import java.io.FileOutputStream;
import java.io.IOException;

public class MyIo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new  FileOutputStream("E:\\text\\a.txt");
        fos.write(97);
        fos.close();

        byte[] bys={98,99,100};
        fos.write(bys);
        fos.close();

        byte[] bys1={98,99,100,101,102,103,104,105};
        fos.write(bys,3,4);
        fos.close();
    }
}
